package com.third.login.umeng.tencent;

import android.app.Activity;

import com.dg.acb.utils.configdata.XXConstants;
import com.third.login.ThirdLoginPlatform;
import com.third.login.umeng.UmengThirdLoginBase;
import com.umeng.socialize.Config;
import com.umeng.socialize.PlatformConfig;
import com.umeng.socialize.bean.SHARE_MEDIA;

/**
 * Created by Administrator on 2017-08-02.
 */

public class UWeiXinThirdLogin extends UmengThirdLoginBase {
    public UWeiXinThirdLogin(Activity activity, String appKey, String appId) {
        super(activity, appKey, appId);
    }
    protected  void init(){
        mSHARE_MEDIA = SHARE_MEDIA.WEIXIN;
        mThirdLoginPlatform = ThirdLoginPlatform.WEIXIN;
        Config.DEBUG = true;
        PlatformConfig.setWeixin(XXConstants.appKeyWeiXin, XXConstants.appSecretWeiXin);
    }
}
